From b9cf0a4363050719e250c1c79e12f7f0eb9a8512 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 19 Jul 2006 23:07:54 +0000 Subject: [PATCH] Turn off millions of 'ignore warning' from mingw-gcc. This pragma is only usefull for MSVC builds. (see http://www.mobydisk.com/softdev/techinfo/cpptips.html) --- defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defs.h b/defs.h index 30487f504..e6c71491e 100644 --- a/defs.h +++ b/defs.h @@ -74,7 +74,9 @@ /* Turn off numeric conversion warning */ #if __WIN32__ -# pragma warning(disable:4244) +# if _MSC_VER +# pragma warning(disable:4244) +# endif # define _CRT_SECURE_NO_DEPRECATE 1 #endif -- 2.30.2